//
//  CusendViewController.m
//  电影er
//
//  Created by dllo on 16/6/25.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "CusendViewController.h"
#import "CusendTableViewCell.h"
#import "CustModel.h"
@interface CusendViewController ()<UITableViewDelegate,UITableViewDataSource>

@end

@implementation CusendViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.automaticallyAdjustsScrollViewInsets = NO;
    self.navigationItem.title = self.cumodel.cinemaName;
    
    [self secscroll];
}
-(void)secscroll{
    
//    UIScrollView *scroll = [[UIScrollView alloc]initWithFrame:CGRectMake(0, 64 , self.view.frame.size.width,self.view.frame.size.height )];
//    
//    scroll.backgroundColor = [UIColor whiteColor];
//    scroll.contentSize = CGSizeMake(1, 1000);
//    
//    UILabel *label = [[UILabel alloc]init];
//    label.text= @"对的";
//    label.frame= CGRectMake(100, 100, 200, 100);
//    
//    
//    [scroll addSubview:label];
//    UILabel *label1 = [[UILabel alloc]initWithFrame:CGRectMake(10, 10, 200, 100)];
//    label1.text = self.cumodel.cityName;
//    [scroll addSubview:label1];
//    
//    
//    
//    
//    
//    [self.view addSubview:scroll];
//    [scroll release];
//    
    
    UITableView *tabview = [[UITableView alloc]initWithFrame:CGRectMake(0, 64 , self.view.frame.size.width,self.view.frame.size.height )style:UITableViewStylePlain];
    
    tabview.backgroundColor = [UIColor whiteColor];
    
    [self.view addSubview: tabview];
    
    tabview.dataSource =self;
    tabview.delegate = self;
    tabview.rowHeight = 200;
    [tabview registerClass:[CusendTableViewCell class] forCellReuseIdentifier:@"cell"];

}

























@end
